package zl.mapper;

import zl.bean.Category;

import java.util.List;

public interface CategoryMapper {
    int addCategory(Category category);

    int deleteCategory(Integer id);

    int updateCategory(Category category);


    Category selectById(Integer id);

    Category selectByname(String name);

    List<Category> selectFindAll();

    Long selectChildren(Integer id);
}
